package com.kool.leitu.service;

import com.kool.leitu.bean.MenuBean;
import com.kool.leitu.dao.MenuDao;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @description:
 * @author: tianhe
 * @create: 2019/02/15 12:04
 */
@Service
@Slf4j
public class MenuService {
    @Autowired
    private MenuDao menuDao;

    public List<MenuBean> getBasicMenu(){
        return menuDao.selectBasicMenu();
    }
}
